package com.ruben.command.restaurant;

import java.util.List;

import lombok.AllArgsConstructor;

/**
 * 服务员，接受命令的接收者
 *
 * @author <achao1441470436@gmail.com>
 * @since 2021/12/5 0005 16:23
 */
@AllArgsConstructor
public class Waiter {

    public List<String> order;

    public void handleOrder() {
        // 处理订单
        System.out.println("处理订单");
        System.out.println(order);
    }

    public void checkList() {
        // 检查清单
        System.out.println("检查清单");
        System.out.println(order);
    }
}
